package com.sf.dlb.jpa.repository;

import com.sf.dlb.jpa.model.UserWalletInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 用户钱包表 Repository
 *
 * Created by jing.tan on 2018/5/21.
 */
@Repository
public interface UserWalletRepository extends JpaRepository<UserWalletInfo, Long> {
    /**
     * 根据用户ID-查询用户钱包表
     * @param userId
     * @param DelFlag
     * @return
     */
    UserWalletInfo findByUserIdAndDelFlag(String userId, String DelFlag);
}